#include "ObjectPool.h"
#include "UserRequest.h"
#include <iostream>



int main(int argc, char** argv)
{
	ObjectPool<UserRequest> requestPool(1000);

	// Set up program
	// (not shown)

	while (true /* program is running */) {
		UserRequest& req = obtainUserRequest(requestPool);
		processUserRequest(requestPool, req);
	}

	return (0);
}